/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Dblayer;
import Modellayer.*;
import java.util.ArrayList;

/**
 *
 * @author bruhn
 */
public interface IFDBBestilling {
    // get all Bestilling
    public ArrayList<Bestilling> hentBestilling(boolean retriveAssociation);
    //get one Bestilling by bestillingsNr
    public Bestilling findBestillingsNr(int bestillingsNr, boolean retriveAssociation);
    //insert a new Bestilling
    public int opretBestilling(Bestilling bestilling);
    //update a Bestilling
    public int redigerBestilling(Bestilling bestilling);
    //delete a Bestilling
    public void sletBestilling(int bestillingsNr);

}
